package com.cqupt.mislab.erpn.commons.utils;

/**
 * @program: com.cqupt.mislab.erpn.commons.utils
 * @description:  用于转换Entity和VO的工具类，方法全部使用重载，第一个参数是Entity对象，第二个参数是VO对象
 * @author: keji0
 * @date: 2020/8/18 15:00
 */

public class EntityVoUtil {

//    public static void copyFieldsFromEntityToVo(UserStudentInfo userStudentInfo,UserStudentInfoBasicVo infoBasicVo){
//
//        BeanCopyUtil.copyPropertiesSimple(userStudentInfo,infoBasicVo);
//
//        infoBasicVo.setMajorBasicInfo(userStudentInfo.getMajorBasicInfo());
//
//        infoBasicVo.setUserAvatarInfo(userStudentInfo.getUserAvatarInfo());
//
//        if(userStudentInfo.getUserTeacherInfo() != null){
//            infoBasicVo.setTeacherId(userStudentInfo.getUserTeacherInfo().getId());
//        }
//    }

}
